// pages/white/white.js
Page({


  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {
    const welecome = wx.getStorageSync('welcome');
    if (welecome) {
      console.log(welecome);
      wx.switchTab({
        url: "../index/index",
      })
    } else {
      wx.navigateTo({
        url: "../guidance/guidance",
      })
    }
  },

})